package com.foreverwin.mes.production.mapper;

import com.foreverwin.mes.production.dto.CleanExeReviewDto;
import com.foreverwin.mes.production.model.CleanExe;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.foreverwin.mes.production.vo.CleanExeReviewVo;
import com.foreverwin.mes.production.vo.CleanExeVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 清洁执行表 Mapper 接口
 * </p>
 *
 * @author Max
 * @since 2020-02-11
 */
@Repository
public interface CleanExeMapper extends BaseMapper<CleanExe> {
    /**
     * 查询任务明细及状态
     * @param zCleanExeBo
     * @return
     */
    List<CleanExeVo> selectCleanTaskList (@Param("zCleanExeBo") String zCleanExeBo);
    /**
     * 查询待审核任务
     */
    List<CleanExeReviewVo> selectReviewExe (CleanExeReviewDto cleanExeReviewDto);
}